<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>我的订单</title>
</head>
<body>
<h1>我的订单</h1>
<a href="main.html">返回主页</a>
<hr/>
<table border="1">
    <tr>
        <th>序号</th>
        <th>订单号</th>
    </tr>
    <c:forEach items="${orders}" var="order" varStatus="status">
        <tr>
            <td>${status.count}</td>
            <td><a href="${pageContext.request.contextPath}/findDetail.order?id=${order.id}">${order.no}</a></td>
        </tr>
    </c:forEach>
</table>
</body>
</html>